#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main()
{
    int a, b;
    int num;
    while (1) {
        num = scanf("%d%d", &a, &b);
        if (num == -1)
            break;
        printf("%d\n\n", a + b);

    }
    return 0;
}
